package com.lixw.service.impl;

import com.lixw.mapper.EmployeeMapper;
import com.lixw.pojo.Employee;
import com.lixw.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @ClassName: EmployeeServiceImpl
 * @Description:
 * @Author: xuweiLi
 * @Create: 2025/6/24 21:01
 **/
@Service
@Transactional
public class EmployeeServiceImpl implements EmployeeService {

    @Autowired
    private EmployeeMapper employeeMapper;

    @Override
    public List<Employee> findList() {
        return employeeMapper.selectList();
    }
}